package com.simtop.domain.news;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.util.Date;

/**
 * @author lvyongwei
 */
@Data
@Alias("policyInformationVo")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PolicyInformationVo {

    /**
     * 政策资讯id
     */
    private Integer policyId;

    /**
     * 政策标题
     */
    private String policyTitle;

    /**
     * 政策封面
     */
    private String policyPhoto;

    /**
     * 政策简介
     */
    private String policyIntro;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 新闻发布日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date pubdate;
}
